home *** CD-ROM | disk | FTP | other *** search
/ WINMX Assorted Textfiles / Ebooks.tar / Text - Tech - Ebooks - How To Convert from LIT to TXT (TXT, SRC, HTM).zip / Convert From Lit.txt next >
Text File  |  2001-02-06  |  2KB  |  68 lines

  1. Ok now the correct instructions. Thanks to Chase for pointing out my
  2. mistake along with the correct link.
  3.  
  4. Download and install wintask from http://www.wintask.com/
  5.  
  6. Open the lit file you wish to convert and make sure you're on the
  7. first page of TEXT not the chapter listing.  Take note of that number,
  8. go to the last page you wish to convert and subtract the page number
  9. of the first page of text from the last page you wish to convert.  Now
  10. go back to the first page of text.
  11.  
  12. Now open up wordpad.  I use the name convert.doc on my desktop.
  13.  
  14. Now open the SRC file I've attached in WinTask and click on Play, then
  15. a box should come up, click run, then click Ok.  Now type in the
  16. number of pages to convert (the number you calculated earlier). It
  17. should handle everything.
  18.  
  19. I put a dialog box with some info in it, if you decide to modify and
  20. redistribute it change it to "Convert by Tecnodude version
  21. " add to the version number " Modifyed by: " your name or handle
  22. and the current date. This way we can keep all the revisions separate.
  23.  
  24. Thanks
  25. Tecnodude
  26.  
  27. --------------------
  28. CallDialog Dialog
  29. CallDialog PageD
  30.  
  31. BEGINDIALOG Dialog 337, 260, 350, 110
  32. CAPTION "Convert by Tecnodude"
  33.     TEXT "Convert Version .03 by Tecnodude 1-19-2001", 59, 15
  34.     DEFPUSHBUTTON "&OK", btnOK, 125, 41, 75, 23
  35. ENDDIALOG
  36.  
  37. BEGINDIALOG PageD 337, 260, 350, 138
  38. CAPTION "Number of pages to convert"
  39.     TEXT "Please enter the number of pages to convert:", 55, 19
  40.     EDITTEXT pages$, 128, 42, 78, 20
  41.     DEFPUSHBUTTON "&OK", btnOK, 130, 78, 75, 23
  42. ENDDIALOG
  43. pages=val(pages$)
  44. repeat
  45.     UseWindow("MSREADER.EXE|EBUI_CHILD|Microsoft Reader|1",1)
  46.     ClickMouse(Left,Down,54,62)
  47.     MoveMouse(84,654)
  48.     ClickMouse(Left,Up,84,654)
  49.  
  50.     UseWindow("MSREADER.EXE|EBUI_CHILD|Microsoft Reader|1",1)
  51.     ClickMouse(Left,Down,31,131)
  52.     ClickMouse(Left,Up,31,131)
  53.  
  54.     UseWindow("MSREADER.EXE|EBUI_CHILD|Microsoft Reader|1",1)
  55.     SendKeys("<Alt>")
  56.  
  57.     UseWindow("WORDPAD.EXE|RichEdit20W|New WordPad Document - WordPad|1",1)
  58.     SendKeys("<Ctrl v>")
  59.  
  60.     UseWindow("MSREADER.EXE|EBUI_CHILD|Microsoft Reader|1",1)
  61.     SendKeys("<pagedown>")
  62. pages=pages-1
  63. until pages<1
  64.  
  65.  
  66.  
  67. PS: <Dunamai> Von_Cha, one note.   Make sure the Reader Font Size is at its default (middle setting)
  68.